package com.lt.exam.zhuhemoshi.ShiXian;

import com.lt.exam.ZhuangShiQi.BingLi;
import com.lt.exam.ZhuangShiQi.ShiXian.JiBenBingLi;
import com.lt.exam.ZhuangShiQi.ShiXian.XiaoShiPian;
import com.lt.exam.ZhuangShiQi.ShiXian.XiaoYanYao;
import com.lt.exam.ZhuangShiQi.ShiXian.ZhiXieYao;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.exam.zhuhemoshi.ShiXian
 * @ClassName OneYiSheng
 * @Description to do
 * @date 2021/12/7 10:30
 */
public class OneYiSheng extends YiSheng{
    public OneYiSheng(String name) {
        super(name);
    }

    @Override
    public BingLi XiuGaiBingLi() {
        BingLi bingLi = new JiBenBingLi();
        //假设情况(每个医生都有不同的情况)
        bingLi = new XiaoShiPian(bingLi);
        bingLi = new ZhiXieYao(bingLi);
        bingLi = new XiaoYanYao(bingLi);
        return bingLi;
    }
}
